Building UIs with Wijmo by 2013

Building UIs with Wijmo by 2013

Author:2013
Language: eng
Format: epub
Publisher: Packt Publishing


Although more verbose, this format allows us to specify the thumbnail images. Now each 300 x 200 image is accompanied by a 100 x 100 thumbnail. The gallery widget automatically resizes images to fit the display area. If you want to resize the images in your gallery widget without changing the aspect ratio, refer to a blog post by one of the developers at http://wijmo.com/maintaining-aspect-ratio-in-wijgallery/.

Playing videos in the gallery widget

To play videos within the gallery widget, you just need to specify a thumbnail of the video and a link to it. An example markup with three videos is:

<div id="wijgallery"> <ul> <li><a href="http://www.youtube.com/v/0ZNSVMaPIUQ?version=3&amp;hl=en_US"> <img width="120" height="90" src="http://i.ytimg.com/vi/0ZNSVMaPIUQ/0.jpg"></a> </li> <li><a href="http://www.youtube.com/v/4B22QGJoxZQ?version=3&amp;hl=en_US"> <img width="120" height="90" src="http://i.ytimg.com/vi/4B22QGJoxZQ/0.jpg"></a> </li> <li><a href="http://www.youtube.com/v/bpPMAyAxO4Q?version=3&amp;hl=en_US"> <img width="120" height="90" src="http://i.ytimg.com/vi/bpPMAyAxO4Q/0.jpg"></a> </li> </ul> </div>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.